import {createRouter,createWebHistory} from 'vue-router'
let routes = [
    {
        path: '/home',
        name: 'home',
        component:()=> import("../views/tt.vue")
    },
    {
        path: '/test',
        name: 'test',
        component:()=> import("../components/gcard.vue")
    },
    {
        path: '/',
        name: 'login',
        component:()=> import("../views/index/index.vue")
    },
    {
        path: '/graphvuecomp',
        name: 'graph',
        component:()=> import("../views/graphvuecomponent/graph.vue")
    },
    {
        path: '/grapher',
        name: 'grapher',
        component:()=> import("../views/grapherreact/graphrect.vue")
    }
]
const routerHistory = createWebHistory()
const router = createRouter({
    history: routerHistory,
    routes: routes})
export default router
